package entity;

import java.io.Serializable;



public class User implements Serializable
{	
	private static final long serialVersionUID = 1L;

	private String ID ;
	private String password ;
	private String Fname ; 
	private String Lname;
	private int permmision;
	private String email;
	private String phone;
	

	public User()
	{
		 this.ID  = ("") ;
		 this.password = ("") ;
		 this.Fname = ("")  ; 
		 this.Lname = ("") ;
		 this.permmision = -1;
		 this.email = ("") ;
		 this.phone = ("") ;
		
	}
	public User(String id , String password , int permmision )
	{
		this.ID = id;
		this.password = password ; 
		this.permmision = permmision ;
	}
	
	public User(String id , String password , String firstName ,String lastName ,  String email , String phone , int permmision )
	{
		this.ID = id;
		this.password = password ; 
		this.Fname = firstName;
		this.Lname = lastName ; 
		this.email = email;
		this.phone = phone ; 
		this.permmision = permmision ;
		
	}
	
	public User (String id ,String firstName ,String lastName , String email , String phone)
	{
		this.ID = id;
		this.Fname = firstName;
		this.Lname = lastName ; 
		this.email = email;
		this.phone = phone ; 
	}
	
//===================================================================	
//              Getters & Setters
//===================================================================	
	public String getID() 
	{
		return this.ID;
	}


	public void setID(String iD) 
	{
		this.ID = iD;
	}


	public String getPassword() 
	{
		return this.password;
	}


	public void setPassword(String password) 
	{
		this.password = password;
	}


	public String getFname()
	{
		return this.Fname;
	}


	public void setFname(String fname) 
	{
		this.Fname = fname;
	}


	public String getLname() 
	{
		return this.Lname;
	}


	public void setLname(String lname) 
	{
		this.Lname = lname;
	}


	public int getPermmision() 
	{
		return this.permmision;
	}


	public void setPermmision(int permmision) 
	{
		this.permmision = permmision;
	}

	
	public String getEmail()
	{
		return this.email;
	}


	public void setEmail(String email)
	{
		this.email = email;
	}


	public String getPhone() 
	{
		return phone;
	}


	public void setPhone(String phone) 
	{
		this.phone = phone;
	}
	
	
	
	
	
}

